﻿namespace AB.ServiceDirectory.Dao
{
    using Entities;

    /// <summary>
    /// DB Class
    /// </summary>
    public static class DB
    {
        /// <summary>
        ///
        /// </summary>
        private static ServicesDirectoryDataContext _context;

        /// <summary>
        /// Gets the context.
        /// </summary>
        public static ServicesDirectoryDataContext Context
        {
            get { return _context ?? (_context = new ServicesDirectoryDataContext()); }
        }
    }
}